export var baseUrl = "https://www.wanandroid.com"

export var banners = baseUrl + "/banner/json"


export var asks = baseUrl + "/wenda/list/"
//https://www.wanandroid.com/lg/collect/1165/json 文章id 拼接到后面
export var collectArcile = `${baseUrl}/lg/collect/`

//https://www.wanandroid.com/user/login  username，password

export let loginUrl = `${baseUrl}/user/login`

//https://www.wanandroid.com/user/register   username,password,repassword

export let registerUrl = `${baseUrl}/user/register`

//uncollect //2333/json
export let uncollectUrl = `${baseUrl}/lg/uncollect_originId`

//https://www.wanandroid.com/user/logout/json

export let loginOut = `${baseUrl}/user/logout/json`

//https://www.wanandroid.com/lg/coin/userinfo/json

// 个人积分

export let userInfo = `${baseUrl}/lg/coin/userinfo/json`

//https://www.wanandroid.com/lg/collect/list/0/json

//个人收藏列表

export let myCollects = `${baseUrl}/lg/collect/list/`
//我的分享  https://wanandroid.com/user/lg/private_articles/1/json


export let myShares = `${baseUrl}/user/lg/private_articles/`

//https://www.wanandroid.com/coin/rank/1/json 积分排行榜

export let rankList = `${baseUrl}/coin/rank/`
//https://wanandroid.com/wxarticle/chapters/json  
// 公众号列表
export let wxcharts = `${baseUrl}/wxarticle/chapters/json`
//https://wanandroid.com/wxarticle/list/408/1/json
export let wxhis = `${baseUrl}/wxarticle/list/`
//站外文章收藏

//https://www.wanandroid.com/lg/collect/add/json方法：POST
// 参数：
// 	title，author，link

export let addLink = `${baseUrl}/lg/collect/add/json`
//https://www.wanandroid.com/project/tree/json  //项目列表tab

export let trees = `${baseUrl}/project/tree/json`
//https://www.wanandroid.com/project/list/1/json?cid=294

export let projects = `${baseUrl}/project/list/`

//https://www.wanandroid.com/chapter/547/sublist/json  教程接口

export let course = `${baseUrl}/chapter/547/sublist/json`

//https://wanandroid.com/article/list/0/json?cid=549&order_type=1 教程下文章列表

export let courseList = `${baseUrl}/article/list`

export  let  toDoList=`${baseUrl}/lg/todo/v2/list/`






